package com.oc.mba.dao;

import java.util.List;

import com.oc.mba.entity.OcQuestion;
import com.oc.mba.util.PaginationSupport;

public interface OcQuestionDAO {
	public OcQuestion findQuestion(Integer questionID);
	public void save(OcQuestion question);
	public void update(OcQuestion question);
	public void deleteQuestion(Integer questionID, boolean real);
	public List<OcQuestion> listAll();
	public List<OcQuestion> findQuestionByIDs(List<Integer> questionIDs);
	public List<OcQuestion> findQuestionBySerial(String serial);
	public PaginationSupport listAllPublishQuestionForPaging(int pageSize, int current);
	public int countAllPublishQuestion();
}